package com.shawn.dubbo.api;

import com.shawn.model.entity.UserInfo;
import com.shawn.model.vo.DistributionVo;
import com.shawn.model.vo.PageResult;
import com.shawn.model.vo.UserInfoVo;

import java.util.List;
import java.util.Map;

public interface UserInfoApi {
    void saveUserInfo(UserInfo userInfo);

    void updateUserInfo(UserInfo userInfo);

    UserInfo findDetailById(Long userId);

    PageResult<UserInfo> findByIds(List<Long> userIds, UserInfo userInfo, Integer page, Integer pagesize);
    List<UserInfo> findByIds(List<Long> userIds);

    PageResult<UserInfo> selectByPage(Integer page, Integer pageSize,Long id,String nickname,String city);

    DistributionVo getDistribution(Long startDate, Long endDate, DistributionVo vo);
}
